// Part of cosmos from opengenus foundation

const biggestOfN = array => Math.max.apply(null, array);

console.log(biggestOfN([10, 0, -1, 100, 20]));
console.log(biggestOfN([9090, 0, -100, 1, 20]));
